package com.example.dbsample.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.dbsample.annotation.BeanFieldAnnotation;
import lombok.Data;

@Data
@TableName("lob_deduplicate")
public class LobDeduplicateEntity extends BaseEntity {
    @TableId(value = "id", type= IdType.AUTO)
    private Long id;

    @TableField("business_id")
    private Long businessId;

    @TableField("priority")
    @BeanFieldAnnotation(desc = "优先级", filedType = "Integer")
    private Integer priority;

    @TableField("time_frame")
    @BeanFieldAnnotation(desc = "时间范围", filedType = "Integer")
    private Integer timeFrame;

    @TableField("config_group")
    private String configGroup;

    @TableField("business_name")
    private String businessName;
}
